home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Magazin/MacEasy 43
/
Mac Magazin and MacEasy Magazine CD - Issue 43.iso
/
Software
/
Mobiles Büro
/
Newton
/
Newton Entwickler
/
Newton 2.1 Platform 1.2b2 ƒ
/
Newton 2.1 Defs
< prev
next >
Wrap
Text File
|
1997-05-12
|
68KB
|
1,658 lines
/*
Copyright: © 1993-1997 by Apple Computer, Inc., all rights reserved.
"Newton 2.1" Platform File Version 1.2b2 Constant Definitions
Generated on 5/2/97 at 11:43:23 AM PST
*/
/* constant */ platformVersion :=
'{
platformFile: |Newton 2.1|,
version: |1.2b2|,
buildDate: |5/2/97|,
buildTime: |11:43:23 AM PST|,
timeOfBuild: 49090320 // the "Time()" the platform file was generated
}
/* constant */ protoPeriodicAlarmEditor := @2;
/* constant */ ROM_alarmWakeup := @4;
/* constant */ protoAnalogClock := @5;
/* constant */ ROM_checkBitmaps := @11;
/* constant */ ROM_priorityItems := @12;
/* constant */ ROM_bootSound := @16;
/* constant */ protoRepeatDateDurationTextPicker := @19;
/* constant */ protoSenderPopup := @20;
/* constant */ protoStatusBarber := @21;
/* constant */ ROM_calendarNotesName := @22;
/* constant */ ROM_calendarSoupName := @23;
/* constant */ newtAreaCodeLine := @26;
/* constant */ protoCanonicalCompass := @28;
/* constant */ ROM_cardfileSoupName := @47;
/* constant */ ROM_click := @51;
/* constant */ protoFrameFormat := @52;
/* constant */ ROM_cloud1 := @53;
/* constant */ ROM_cloud2 := @54;
/* constant */ ROM_cloud3 := @55;
/* constant */ protoCoverPageFormatDeprecated := @60;
/* constant */ ROM_crumple := @62;
/* constant */ ROM_dataName := @63;
/* constant */ ROM_dateTimeStrSpecs := @66;
/* constant */ ROM_dialtones := @68;
/* constant */ protoNumberPicker := @72;
/* constant */ newtStatusBarNoClose := @73;
/* constant */ protoSmartCluster := @75;
/* constant */ ROM_drawerClose := @76;
/* constant */ ROM_drawerOpen := @77;
/* constant */ ROM_errorTable := @79;
/* constant */ ROM_flip := @85;
/* constant */ ROM_fontSystem10 := @87;
/* constant */ ROM_fontSystem10Bold := @88;
/* constant */ ROM_fontSystem10Underline := @89;
/* constant */ ROM_fontSystem12 := @90;
/* constant */ ROM_fontSystem12Bold := @91;
/* constant */ ROM_fontSystem12Underline := @92;
/* constant */ ROM_fontSystem14 := @93;
/* constant */ ROM_fontSystem14Bold := @94;
/* constant */ ROM_fontSystem14Underline := @95;
/* constant */ ROM_fontSystem18 := @96;
/* constant */ ROM_fontSystem18Bold := @97;
/* constant */ ROM_fontSystem18Underline := @98;
/* constant */ ROM_fontSystem9 := @99;
/* constant */ ROM_fontSystem9Bold := @100;
/* constant */ ROM_fontSystem9Underline := @101;
/* constant */ ROM_funBeep := @102;
/* constant */ newtPrefsView := @107;
/* constant */ protoYearPicker := @108;
/* constant */ ROM_hiliteSound := @110;
/* constant */ ROM_inboxSoupName := @111;
/* constant */ protoRepeatPicker := @123;
/* constant */ newtInfoButton := @124;
/* constant */ protoTimeButton := @128;
/* constant */ ROM_metaSoupName := @129;
/* constant */ protoDragger := @132;
/* constant */ protoNotesContent := @134;
/* constant */ ROM_outboxSoupName := @139;
/* constant */ newtFolderTab := @143;
/* constant */ ROM_paperRollSoupName := @144;
/* constant */ newtCountrySymbolFilter := @146;
/* constant */ protoTimePopup := @147;
/* constant */ ROM_phoneText := @148;
/* constant */ ROM_plinkBeep := @150;
/* constant */ newtAboutView := @152;
/* constant */ protoPrinterChooserButton := @153;
/* constant */ protoApp := @157;
/* constant */ protoBorder := @160;
/* constant */ newtClockFolderTab := @162;
/* constant */ protoLargeClosebox := @163;
/* constant */ protoCheckbox := @164;
/* constant */ protoCheckboxIcon := @165;
/* constant */ protoClosebox := @166;
/* constant */ protoDateExpandoDeprecated := @170;
/* constant */ protoDivider := @172;
/* constant */ protoDrawer := @173;
/* constant */ protoExpandoShellDeprecated := @175;
/* constant */ protoFilingButton := @176;
/* constant */ protoFloater := @179;
/* constant */ protoFloatNGo := @180;
/* constant */ protoGauge := @182;
/* constant */ protoGlance := @183;
/* constant */ protoInputLine := @185;
/* constant */ protoKeyboard := @187;
/* constant */ protoKeypad := @188;
/* constant */ protoLabelInputLine := @189;
/* constant */ protoLabelPicker := @190;
/* constant */ protoOverview := @191;
/* constant */ protoPhoneExpandoDeprecated := @194;
/* constant */ protoPicker := @195;
/* constant */ protoPictIndexer := @196;
/* constant */ protoPictRadioButton := @197;
/* constant */ protoPictureButton := @198;
/* constant */ protoPrintFormat := @200;
/* constant */ protoRadioButton := @202;
/* constant */ protoRadioCluster := @203;
/* constant */ protoRCheckbox := @204;
/* constant */ protoRoll := @206;
/* constant */ protoRollBrowser := @207;
/* constant */ protoRollItem := @208;
/* constant */ protoActionButton := @209;
/* constant */ protoSetClock := @210;
/* constant */ protoFolderTab := @211;
/* constant */ protoSlider := @212;
/* constant */ protoStaticText := @218;
/* constant */ protoStatus := @219;
/* constant */ protoStatusBar := @220;
/* constant */ protoTable := @223;
/* constant */ protoTableDef := @224;
/* constant */ protoTableEntry := @225;
/* constant */ protoTextButton := @226;
/* constant */ protoTextExpandoDeprecated := @227;
/* constant */ protoTextList := @228;
/* constant */ protoTitle := @229;
/* constant */ protoPeopleDataDef := @231;
/* constant */ protoRecToggle := @234;
/* constant */ protoStdClosing := @236;
/* constant */ ROM_soupFinder := @237;
/* constant */ ROM_repeatMeetingName := @239;
/* constant */ protoNameRefDataDef := @240;
/* constant */ ROM_nameRefValidationFrame := @241;
/* constant */ ROM_repeatNotesName := @242;
/* constant */ ROM_citySoupName := @251;
/* constant */ ROM_radioOnBitmap := @257;
/* constant */ protoAddressPicker := @259;
/* constant */ protoRoutingFormat := @260;
/* constant */ ROM_shapeName := @261;
/* constant */ ROM_simpleBeep := @262;
/* constant */ ROM_soundOff := @263;
/* constant */ ROM_systemSoupName := @276;
/* constant */ protoRepeatView := @279;
/* constant */ protoAnalogTimePopup := @280;
/* constant */ ROM_todoSoupName := @282;
/* constant */ protoTimeIntervalPopup := @284;
/* constant */ protoDateNTimePopup := @288;
/* constant */ ROM_wakeupBeep := @289;
/* constant */ ROM_routeDeleteIcon := @291;
/* constant */ ROM_routeDuplicateIcon := @292;
/* constant */ newtAreaCodePhoneLine := @294;
/* constant */ ROM_countrySoupName := @295;
/* constant */ ROM_radioOffBitmap := @297;
/* constant */ ROM_tickSound := @299;
/* constant */ ROM_tockSound := @300;
/* constant */ ROM_cuckooSound := @301;
/* constant */ ROM_ratchetSound := @302;
/* constant */ ROM_addSound := @303;
/* constant */ ROM_removeSound := @304;
/* constant */ protoLetterFormat := @305;
/* constant */ newtEntryPageHeader := @309;
/* constant */ ROM_cancelBitmap := @311;
/* constant */ ROM_plunk := @313;
/* constant */ ROM_poof := @314;
/* constant */ protoLabeledBatteryGauge := @316;
/* constant */ protoDatePopup := @317;
/* constant */ ROM_worldMapBitmap := @321;
/* constant */ ROM_phoneBitmap := @322;
/* constant */ ROM_upBitmap := @323;
/* constant */ ROM_downBitmap := @324;
/* constant */ ROM_leftBitmap := @325;
/* constant */ ROM_rightBitmap := @326;
/* constant */ ROM_upArrowBitmap := @327;
/* constant */ ROM_downArrowBitmap := @328;
/* constant */ ROM_overviewBitmap := @329;
/* constant */ ROM_keyCapsBitmap := @331;
/* constant */ ROM_keyButtBitmap := @332;
/* constant */ ROM_goAwayBitmap := @334;
/* constant */ protoAZVertTabs := @339;
/* constant */ ROM_AZTabsMaskA := @340;
/* constant */ ROM_markupBitmap := @342;
/* constant */ ROM_noMarkupBitmap := @343;
/* constant */ ROM_bookmarkBitmap := @344;
/* constant */ ROM_cardBitmap := @347;
/* constant */ ROM_a2zBitmap := @349;
/* constant */ ROM_zero2nineBitmap := @350;
/* constant */ ROM_bookBitmap := @351;
/* constant */ protoDateIntervalPopup := @356;
/* constant */ protoMultiDatePopup := @357;
/* constant */ protoYearPopup := @358;
/* constant */ ROM_compatibleFinder := @359;
/* constant */ protoMapPopup := @360;
/* constant */ protoPeoplePopup := @371;
/* constant */ newtRolloverLayout := @374;
/* constant */ protoAlphaKeyboard := @375;
/* constant */ protoNumericKeyboard := @376;
/* constant */ protoPopinPlace := @377;
/* constant */ protoNewSetClock := @378;
/* constant */ protoAMPMCluster := @379;
/* constant */ ROM_copier := @380;
/* constant */ ROM_infoBitmap := @381;
/* constant */ protoBasicEndpoint := @383;
/* constant */ protoPrefsRollItem := @385;
/* constant */ protoPopupButton := @386;
/* constant */ protoDatePicker := @387;
/* constant */ protoTransport := @389;
/* constant */ protoCharEdit := @393;
/* constant */ ROM_AZTabsBitmap := @396;
/* constant */ ROM_AZTabsMaskCZ := @397;
/* constant */ newtApplication := @398;
/* constant */ newtStatusBar := @401;
/* constant */ newtLayout := @402;
/* constant */ newtRollLayout := @403;
/* constant */ newtPageLayout := @404;
/* constant */ newtOverLayout := @405;
/* constant */ newtEntryView := @406;
/* constant */ newtEntryViewActionButton := @407;
/* constant */ newtEntryViewFilingButton := @408;
/* constant */ newtRollEntryView := @409;
/* constant */ newtEntryRollHeader := @410;
/* constant */ newtStationeryView := @411;
/* constant */ newtROEditView := @412;
/* constant */ newtEditView := @413;
/* constant */ newtROTextView := @414;
/* constant */ newtTextView := @415;
/* constant */ newtRONumView := @416;
/* constant */ newtNumView := @417;
/* constant */ newtROTextDateView := @418;
/* constant */ newtTextDateView := @419;
/* constant */ newtQBETextView := @420;
/* constant */ newtROLabelInputLine := @421;
/* constant */ newtLabelInputLine := @422;
/* constant */ newtLabelNumInputLine := @423;
/* constant */ newtLabelDateInputLine := @424;
/* constant */ newtLabelPhoneInputLine := @425;
/* constant */ newtQBELabelInputLine := @426;
/* constant */ newtSmartNameView := @427;
/* constant */ newtSmartPhoneView := @428;
/* constant */ newtSoup := @429;
/* constant */ newtAZTabs := @430;
/* constant */ protoSoundChannel := @431;
/* constant */ ROM_typewriter := @432;
/* constant */ protoKeyboardButton := @434;
/* constant */ protoRubricPopup := @435;
/* constant */ protoLocationPopup := @436;
/* constant */ newtCustomFilter := @437;
/* constant */ newtLabelCustomInputLine := @438;
/* constant */ newtActionButton := @439;
/* constant */ newtFilingButton := @440;
/* constant */ ROM_rcNoRecog := @442;
/* constant */ ROM_rcPrefsConfig := @443;
/* constant */ ROM_rcDefaultConfig := @444;
/* constant */ ROM_rcSingleCharacterConfig := @445;
/* constant */ ROM_rcTryLettersConfig := @446;
/* constant */ ROM_rcRerecognizeConfig := @447;
/* constant */ ROM_rcBuildChains := @448;
/* constant */ ROM_rcInkOrText := @449;
/* constant */ protoRecConfig := @450;
/* constant */ newtStationery := @451;
/* constant */ ROM_USStateSoupName := @452;
/* constant */ ROM_canadianProvinceName := @453;
/* constant */ ROM_continents := @454;
/* constant */ protoWorldPicker := @455;
/* constant */ protoStatePicker := @456;
/* constant */ protoProvincePicker := @457;
/* constant */ protoCountryPicker := @458;
/* constant */ newtFloatingBar := @459;
/* constant */ protoSoupOverview := @460;
/* constant */ protoListPicker := @461;
/* constant */ protoDigit := @462;
/* constant */ protoDigitalClock := @463;
/* constant */ protoStreamingEndpoint := @466;
/* constant */ protoStatusTemplate := @467;
/* constant */ protoStatusClosebox := @468;
/* constant */ protoStatusIcon := @469;
/* constant */ protoStatusButton := @470;
/* constant */ protoStatusGauge := @471;
/* constant */ protoStatusProgress := @472;
/* constant */ protoStatusText := @473;
/* constant */ protoOrientation := @474;
/* constant */ protoHorizontalUpDownScroller := @475;
/* constant */ protoTransportHeader := @477;
/* constant */ protoInfoButton := @478;
/* constant */ protoThumbnailFloater := @481;
/* constant */ protoThumbnail := @484;
/* constant */ protoImageView := @485;
/* constant */ protoFormatPicker := @487;
/* constant */ protoSendButton := @488;
/* constant */ newtROTextTimeView := @491;
/* constant */ newtTextTimeView := @492;
/* constant */ newtLabelTimeInputLine := @493;
/* constant */ newtROSymbolView := @494;
/* constant */ newtSymbolView := @495;
/* constant */ newtLabelSymbolInputLine := @496;
/* constant */ protoPersonaPopup := @497;
/* constant */ protoEmporiumPopup := @498;
/* constant */ protoDisplayClock := @504;
/* constant */ newtEntryLockedIcon := @507;
/* constant */ protoLocationPicker := @512;
/* constant */ ROM_AustralianStateName := @513;
/* constant */ protoDigitalTimePopup := @514;
/* constant */ ROM_faxRoutingIcon := @515;
/* constant */ protoTimeDeltaPicker := @516;
/* constant */ protoTimeDeltaPopup := @517;
/* constant */ protoLatitudePicker := @518;
/* constant */ protoLongitudePicker := @519;
/* constant */ protoLongLatPicker := @521;
/* constant */ protoTimeDeltaTextPicker := @522;
/* constant */ protoLongLatTextPicker := @523;
/* constant */ ROM_UKCountyName := @524;
/* constant */ protoAliasCursor := @536;
/* constant */ ROM_defaultInfoPrefs := @551;
/* constant */ protoBlindEntryLine := @552;
/* constant */ protoCountryLocPicker := @553;
/* constant */ protoStateLocPicker := @554;
/* constant */ protoDateNYearPicker := @555;
/* constant */ protoMultiLinePicker := @559;
/* constant */ ROM_AZTabsSlimBitmap := @560;
/* constant */ ROM_AZTabsSlimMaskCZ := @561;
/* constant */ ROM_AZTabsSlimMaskA := @562;
/* constant */ protoTitleText := @563;
/* constant */ newtProtoLineBase := @564;
/* constant */ newtProtoLine := @565;
/* constant */ newtPhonePopupEdit := @587;
/* constant */ ROM_DefRotateFunc := @588;
/* constant */ ROM_alarmIconTinyBitmap := @591;
/* constant */ ROM_helpbookBitmap := @593;
/* constant */ ROM_diamanteBitmap := @594;
/* constant */ ROM_openPadlockBitmap := @600;
/* constant */ ROM_closedPadlockBitmap := @601;
/* constant */ ROM_colonSlides := @603;
/* constant */ ROM_ampmSlides := @604;
/* constant */ ROM_canonicalCharGrid := @606;
/* constant */ protoDateDurationTextPicker := @607;
/* constant */ protoHorizontal2DScroller := @608;
/* constant */ protoLogPicker := @609;
/* constant */ protoCorrectInfo := @614;
/* constant */ protoWordInfo := @615;
/* constant */ protoWordInterp := @616;
/* constant */ protoAZTabs := @617;
/* constant */ newtCheckBox := @618;
/* constant */ newtROLabelNumInputLine := @619;
/* constant */ newtROLabelDateInputLine := @620;
/* constant */ newtROLabelTimeInputLine := @621;
/* constant */ ROM_digitSlides := @622;
/* constant */ protoDesktopEndpoint := @623;
/* constant */ protoSmallKeyboardButton := @624;
/* constant */ protoDiamondButton := @625;
/* constant */ protoTextPicker := @626;
/* constant */ protoTimeTextPicker := @627;
/* constant */ protoDurationTextPicker := @628;
/* constant */ protoDateTextPicker := @629;
/* constant */ protoDateNTimeTextPicker := @630;
/* constant */ protoMapTextPicker := @631;
/* constant */ protoCountryTextPicker := @632;
/* constant */ protoUSStatesTextPicker := @633;
/* constant */ protoCitiesTextPicker := @634;
/* constant */ newtNRLabelTimeInputLine := @635;
/* constant */ newtNRLabelDateInputLine := @636;
/* constant */ newtNRLabelDateNTimeInputLine := @637;
/* constant */ newtFilter := @638;
/* constant */ newtTextFilter := @639;
/* constant */ newtIntegerFilter := @640;
/* constant */ newtNumberFilter := @641;
/* constant */ newtDateFilter := @642;
/* constant */ newtTimeFilter := @643;
/* constant */ newtDateNTimeFilter := @644;
/* constant */ newtSymbolFilter := @645;
/* constant */ newtPhoneFilter := @646;
/* constant */ newtCityFilter := @647;
/* constant */ newtStateFilter := @648;
/* constant */ newtCountryFilter := @649;
/* constant */ newtSmartNameFilter := @650;
/* constant */ ROM_flapSlides := @651;
/* constant */ newtFalseEntryView := @652;
/* constant */ protoFullRouteSlip := @655;
/* constant */ protoUpDownScroller := @656;
/* constant */ protoLeftRightScroller := @657;
/* constant */ ROM_dstSoupName := @658;
/* constant */ newtSmartCompanyFilter := @659;
/* constant */ newtSmartAddressFilter := @660;
/* constant */ protoPeoplePicker := @664;
/* constant */ protoNewFolderTab := @669;
/* constant */ protoClockFolderTab := @670;
/* constant */ protoGeneralPopup := @671;
/* constant */ newtInfoBox := @672;
/* constant */ protoRichInputLine := @674;
/* constant */ protoRichLabelInputLine := @675;
/* constant */ protoPhonePad := @676;
/* constant */ protoTouchTonePad := @677;
/* constant */ protoTransportPrefs := @678;
/* constant */ ROM_canonicalBaseInfo := @681;
/* constant */ newtLabelSimpleDateInputLine := @682;
/* constant */ newtSimpleDateFilter := @683;
/* constant */ ROM_digitFlapLowOrd := @685;
/* constant */ ROM_digitFlap := @686;
/* constant */ ROM_digitWideFlap := @687;
/* constant */ ROM_plusMinusBitmap := @688;
/* constant */ ROM_northSouthBitmap := @689;
/* constant */ ROM_eastWestBitmap := @690;
/* constant */ ROM_draggeurBitmap := @691;
/* constant */ ROM_draggeurNoGrayBitmap := @692;
/* constant */ ROM_dtmf0Bitmap := @693;
/* constant */ ROM_dtmf1Bitmap := @694;
/* constant */ ROM_dtmf2Bitmap := @695;
/* constant */ ROM_dtmf3Bitmap := @696;
/* constant */ ROM_dtmf4Bitmap := @697;
/* constant */ ROM_dtmf5Bitmap := @698;
/* constant */ ROM_dtmf6Bitmap := @699;
/* constant */ ROM_dtmf7Bitmap := @700;
/* constant */ ROM_dtmf8Bitmap := @701;
/* constant */ ROM_dtmf9Bitmap := @702;
/* constant */ ROM_dtmfStarBitmap := @703;
/* constant */ ROM_dtmfPoundBitmap := @704;
/* constant */ ROM_finePenTipBitmap := @707;
/* constant */ ROM_smallPenTipBitmap := @708;
/* constant */ ROM_mediumPenTipBitmap := @709;
/* constant */ ROM_largePenTipBitmap := @710;
/* constant */ ROM_handScrollBitmap := @713;
/* constant */ ROM_keyButtonBitmap := @714;
/* constant */ ROM_keySmallButtonBitmap := @715;
/* constant */ ROM_keyPadBitmap := @716;
/* constant */ ROM_prefsBitmap := @719;
/* constant */ ROM_routePrintIcon := @730;
/* constant */ ROM_routeBeamIcon := @731;
/* constant */ ROM_routeMailIcon := @732;
/* constant */ ROM_keyBulletBitmap := @734;
/* constant */ ROM_keyColonBitmap := @735;
/* constant */ ROM_keyCommaBitmap := @736;
/* constant */ ROM_keyDivideBitmap := @737;
/* constant */ ROM_keyEqualsBitmap := @738;
/* constant */ ROM_keyLeftParenBitmap := @739;
/* constant */ ROM_keyMinusBitmap := @740;
/* constant */ ROM_keyPeriodBitmap := @741;
/* constant */ ROM_keyPlusBitmap := @742;
/* constant */ ROM_keyRadicalBitmap := @743;
/* constant */ ROM_keyRightParenBitmap := @744;
/* constant */ ROM_keySlashBitmap := @745;
/* constant */ ROM_keyTimesBitmap := @746;
/* constant */ ROM_kbdReturnBitmap := @747;
/* constant */ ROM_kbdTabBitmap := @748;
/* constant */ ROM_kbdLeftBitmap := @749;
/* constant */ ROM_kbdRightBitmap := @750;
/* constant */ ROM_kbdDictBitmap := @751;
/* constant */ ROM_kbdDeleteBitmap := @752;
/* constant */ ROM_kbdShiftBitmap := @753;
/* constant */ ROM_kbdOptionBitmap := @754;
/* constant */ ROM_kbdCapslockBitmap := @755;
/* constant */ ROM_routeReply := @756;
/* constant */ ROM_routeReaddress := @757;
/* constant */ ROM_routePutAway := @758;
/* constant */ ROM_routeLog := @759;
/* constant */ ROM_routeCallBitmap := @760;
/* constant */ ROM_routeUpdateBitmap := @761;
/* constant */ ROM_checkBitmap := @763;
/* constant */ ROM_notesBitmap := @765;
/* constant */ ROM_topicMarkers := @766;
/* constant */ ROM_routeFaxIcon := @768;
/* constant */ ROM_routeTransport := @769;
/* constant */ ROM_routeMissing := @770;
/* constant */ ROM_routeForward := @771;
/* constant */ ROM_routeAddSender := @772;
/* constant */ ROM_routePasteText := @773;
/* constant */ ROM_transportScripts := @774;
/* constant */ protoDragNGo := @804;
/* constant */ newtStationeryPopupButton := @812;
/* constant */ newtNewStationeryButton := @813;
/* constant */ newtShowStationeryButton := @814;
/* constant */ newtRollShowStationeryButton := @815;
/* constant */ newtEntryShowStationeryButton := @816;
/* constant */ protoTXView := @826;
/* constant */ protoTXViewFinder := @827;
/* constant */ ROM_GetSerialNumber := @846;
/* constant */ protoSoundFrame := @849;
/* constant */ protoRecorderView := @853;
/* constant */ newtCheckAllButton := @872;
/* constant */ vjLeftH := 0;
/* constant */ vjRightH := 1;
/* constant */ vjCenterH := 2;
/* constant */ vjFullH := 3;
/* constant */ vjHMask := 3;
/* constant */ vjTopV := 0*4;
/* constant */ vjCenterV := 1*4;
/* constant */ vjBottomV := 2*4;
/* constant */ vjFullV := 3*4;
/* constant */ vjVMask := 3*4;
/* constant */ vjParentLeftH := 0*16;
/* constant */ vjParentCenterH := 1*16;
/* constant */ vjParentRightH := 2*16;
/* constant */ vjParentFullH := 3*16;
/* constant */ vjParentHMask := 3*16;
/* constant */ vjParentTopV := 0*64;
/* constant */ vjParentCenterV := 1*64;
/* constant */ vjParentBottomV := 2*64;
/* constant */ vjParentFullV := 3*64;
/* constant */ vjParentVMask := 3*64;
/* constant */ vjParentMask := vjParentHMask+vjParentVMask;
/* constant */ vjSiblingNoH := 0*512;
/* constant */ vjSiblingCenterH := 1*512;
/* constant */ vjSiblingRightH := 2*512;
/* constant */ vjSiblingFullH := 3*512;
/* constant */ vjSiblingLeftH := 4*512;
/* constant */ vjSiblingHMask := 7*512;
/* constant */ vjSiblingNoV := 0*4096;
/* constant */ vjSiblingCenterV := 1*4096;
/* constant */ vjSiblingBottomV := 2*4096;
/* constant */ vjSiblingFullV := 3*4096;
/* constant */ vjSiblingTopV := 4*4096;
/* constant */ vjSiblingVMask := 7*4096;
/* constant */ vjSiblingMask := vjSiblingHMask+vjSiblingVMask;
/* constant */ vjChildrenLasso := 1*32768;
/* constant */ vjReflow := 1*65536;
/* constant */ noLineLimits := 0*8388608;
/* constant */ oneLineOnly := 1*8388608;
/* constant */ oneWordOnly := 2*8388608;
/* constant */ modeCopy := 0;
/* constant */ modeOr := 1;
/* constant */ modeXor := 2;
/* constant */ modeBic := 3;
/* constant */ modeNotCopy := 4;
/* constant */ modeNotOr := 5;
/* constant */ modeNotXor := 6;
/* constant */ modeNotBic := 7;
/* constant */ modeMask := 8;
/* constant */ vfNone := 0;
/* constant */ vfWhite := 1;
/* constant */ vfLtGray := 2;
/* constant */ vfGray := 3;
/* constant */ vfDkGray := 4;
/* constant */ vfBlack := 5;
/* constant */ vfCustom := 14;
/* constant */ vfMatte := 15;
/* constant */ vfFillWhite := vfWhite;
/* constant */ vfFillLtGray := vfLtGray;
/* constant */ vfFillGray := vfGray;
/* constant */ vfFillDkGray := vfDkGray;
/* constant */ vfFillBlack := vfBlack;
/* constant */ vfFillCustom := vfCustom;
/* constant */ vfFillMask := 15;
/* constant */ vfFillShift := 0;
/* constant */ vfFrameWhite := vfWhite*16;
/* constant */ vfFrameLtGray := vfLtGray*16;
/* constant */ vfFrameGray := vfGray*16;
/* constant */ vfFrameDkGray := vfDkGray*16;
/* constant */ vfFrameBlack := vfBlack*16;
/* constant */ vfFrameCustom := vfCustom*16;
/* constant */ vfFrameMatte := vfMatte*16;
/* constant */ vfFrameMask := 15*16;
/* constant */ vfFrameShift := 4;
func vfPen(x)((x)*256);
/* constant */ vfPenMask := 15*256;
/* constant */ vfPenShift := 8;
/* constant */ vfLinesWhite := vfWhite*4096;
/* constant */ vfLinesLtGray := vfLtGray*4096;
/* constant */ vfLinesGray := vfGray*4096;
/* constant */ vfLinesDkGray := vfDkGray*4096;
/* constant */ vfLinesBlack := vfBlack*4096;
/* constant */ vfLinesMask := 15*4096;
/* constant */ vfLineShift := 12;
func vfInset(x)((x)*65536);
/* constant */ vfInsetMask := 3*65536;
/* constant */ vfInsetShift := 16;
func vfShadow(x)((x)*262144);
/* constant */ vfShadowMask := 3*262144;
/* constant */ vfShadowShift := 18;
/* constant */ vfHiliteInvert := 0*1048576;
/* constant */ vfHiliteBullet := 2*1048576;
/* constant */ vfHiliteTriangle := 4*1048576;
/* constant */ vfHiliteMask := 15*1048576;
/* constant */ vfHiliteShift := 20;
func vfRound(x)((x)*16777216);
/* constant */ vfRoundMask := 15*16777216;
/* constant */ vfRoundShift := 24;
/* constant */ vNoFlags := 0;
/* constant */ vVisible := 1 << 0;
/* constant */ vReadOnly := 1 << 1;
/* constant */ vApplication := 1 << 2;
/* constant */ vCalculateBounds := 1 << 3;
/* constant */ vNoKeys := 1 << 4;
/* constant */ vClipping := 1 << 5;
/* constant */ vFloating := 1 << 6;
/* constant */ vWriteProtected := 1 << 7;
/* constant */ vNothingAllowed := 0x00000000;
/* constant */ vSingleUnit := 1 << 8;
/* constant */ vClickable := 1 << 9;
/* constant */ vStrokesAllowed := 1 << 10;
/* constant */ vGesturesAllowed := 1 << 11;
/* constant */ vCharsAllowed := 1 << 12;
/* constant */ vNumbersAllowed := 1 << 13;
/* constant */ vLettersAllowed := 1 << 14;
/* constant */ vPunctuationAllowed := 1 << 15;
/* constant */ vShapesAllowed := 1 << 16;
/* constant */ vPhoneField := 1 << 18;
/* constant */ vDateField := 1 << 19;
/* constant */ vTimeField := 1 << 20;
/* constant */ vAddressField := 1 << 21;
/* constant */ vNameField := 1 << 22;
/* constant */ vCapsRequired := 1 << 23;
/* constant */ vCustomDictionaries := 1 << 24;
/* constant */ vAnythingAllowed := 65535 << 9;
/* constant */ vSelected := 1 << 25;
/* constant */ vNoScripts := 1 << 27;
/* constant */ vWidthIsParentWidth := 1 << 0;
/* constant */ vNoSpaces := 1 << 1;
/* constant */ fxColumnsShift := 0;
func fxColumns(num)(num-1) << fxColumnsShift;
/* constant */ fxColumnsMask := 0x1F << fxColumnsShift // = 31;
/* constant */ fxRowsShift := 5;
func fxRows(num)(num-1) << fxRowsShift;
/* constant */ fxRowsMask := 0x1F << fxRowsShift // = 992;
/* constant */ fxHStartPhaseShift := 10;
/* constant */ fxHStartPhase := 1 << fxHStartPhaseShift // = 1024;
/* constant */ fxVStartPhaseShift := 11;
/* constant */ fxVStartPhase := 1 << fxVStartPhaseShift // = 2048;
/* constant */ fxColAltHPhaseShift := 12;
/* constant */ fxColAltHPhase := 1 << fxColAltHPhaseShift // = 4096;
/* constant */ fxColAltVPhaseShift := 13;
/* constant */ fxColAltVPhase := 1 << fxColAltVPhaseShift // = 8192;
/* constant */ fxRowAltHPhaseShift := 14;
/* constant */ fxRowAltHPhase := 1 << fxRowAltHPhaseShift // = 16384;
/* constant */ fxRowAltVPhaseShift := 15;
/* constant */ fxRowAltVPhase := 1 << fxRowAltVPhaseShift // = 32768;
/* constant */ fxMoveHShift := 16;
/* constant */ fxMoveH := 1 << fxMoveHShift // = 65536;
/* constant */ fxMoveVShift := 17;
/* constant */ fxMoveV := 1 << fxMoveVShift // = 131072;
/* constant */ fxRevealLineShift := 18;
/* constant */ fxRevealLine := 1 << fxRevealLineShift // = 262144;
/* constant */ fxWipeShift := 19;
/* constant */ fxWipe := 1 << fxWipeShift // = 524288;
/* constant */ fxFromEdgeShift := 20;
/* constant */ fxFromEdge := 1 << fxFromEdgeShift // = 1048576;
/* constant */ fxStepsShift := 21;
func fxSteps(num)((num-1) << fxStepsShift);
/* constant */ fxStepsMask := 0x0F << fxStepsShift // = 31457280;
/* constant */ fxStepTimeShift := 25;
func fxStepTime(num)((num) << fxStepTimeShift);
/* constant */ fxStepTimeMask := 0x0F << fxStepTimeShift // = 503316480;
/* constant */ fxLeft := fxHStartPhase+fxMoveH;
/* constant */ fxRight := fxMoveH;
/* constant */ fxUp := fxVStartPhase+fxMoveV;
/* constant */ fxDown := fxMoveV;
/* constant */ fxCheckerboardEffect := fxColumns(8)+fxRows(8)+fxColAltVPhase+fxRowAltHPhase+fxDown;
/* constant */ fxBarnDoorOpenEffect := fxColumns(2)+fxColAltHPhase+fxRowAltVPhase+fxLeft+fxWipe;
/* constant */ fxBarnDoorCloseEffect := fxColumns(2)+fxColAltHPhase+fxRowAltVPhase+fxRight+fxWipe;
/* constant */ fxVenetianBlindsEffect := fxRows(8)+fxDown;
/* constant */ fxIrisOpenEffect := fxColumns(2)+fxRows(2)+fxUp+fxLeft+fxColAltHPhase+fxRowAltVPhase+fxRevealLine+fxWipe;
/* constant */ fxIrisCloseEffect := fxColumns(2)+fxRows(2)+fxUp+fxLeft+fxRevealLine+fxWipe;
/* constant */ fxPopDownEffect := fxDown+fxRevealLine;
/* constant */ fxDrawerEffect := fxUp;
/* constant */ fxZoomOpenEffect := fxColumns(2)+fxRows(2)+fxUp+fxLeft+fxColAltHPhase+fxRowAltVPhase;
/* constant */ fxZoomCloseEffect := fxColumns(2)+fxRows(2)+fxUp+fxLeft;
/* constant */ fxZoomVerticalEffect := fxColumns(1)+fxRows(2)+fxUp+fxRowAltVPhase;
/* constant */ kNoSounds := 0;
/* constant */ kFeedbackSounds := 1;
/* constant */ kAllSounds := 2;
/* constant */ cpNoCopyProtection := 0;
/* constant */ cpNoCopies := 1;
/* constant */ cpReadOnlyCopies := 2;
/* constant */ cpOriginalOnlyCopies := 4;
/* constant */ cpNewtonOnlyCopies := 8;
/* constant */ keySpacer := 1 << 29;
/* constant */ keyAutoHilite := 1 << 28;
/* constant */ keyInsetUnit := 1 << 25;
/* constant */ keyFramed := 1 << 23;
/* constant */ keyRoundingUnit := 1 << 20;
/* constant */ keyLeftOpen := 1 << 19;
/* constant */ keyBottomOpen := 1 << 18;
/* constant */ keyTopOpen := 1 << 17;
/* constant */ keyRightOpen := 1 << 16;
/* constant */ keyHUnit := 1 << 11;
/* constant */ keyHHalf := 1 << 10;
/* constant */ keyHQuarter := 1 << 9;
/* constant */ keyHEighth := 1 << 8;
/* constant */ keyVUnit := 1 << 3;
/* constant */ keyVHalf := 1 << 2;
/* constant */ keyVQuarter := 1 << 1;
/* constant */ keyVEighth := 1 << 0;
/* constant */ kNotKeyCode := -1;
/* constant */ tsFamilyMask := 0x000003FF;
/* constant */ tsFamilyShift := 0;
/* constant */ tsSizeMask := 0x000FFC00;
/* constant */ tsSizeShift := 10;
/* constant */ tsFaceMask := 0x3FF00000;
/* constant */ tsFaceShift := 20;
/* constant */ tsSimple := 2 << tsFamilyShift;
/* constant */ tsFancy := 1 << tsFamilyShift;
func tsSize(num)((num) << tsSizeShift);
/* constant */ tsPlain := 0x00000000;
/* constant */ tsBold := 0x00100000;
/* constant */ tsItalic := 0x00200000;
/* constant */ tsUnderline := 0x00400000;
/* constant */ tsOutline := 0x00800000;
/* constant */ tsSuperScript := 0x08000000;
/* constant */ tsSubScript := 0x10000000;
/* constant */ tsUndefinedFace := 0x20000000;
/* constant */ userFont9 := 0x00002401;
/* constant */ userFont10 := 0x00002801;
/* constant */ userFont12 := 0x00003001;
/* constant */ userFont18 := 0x00004801;
/* constant */ simpleFont9 := 0x00002402;
/* constant */ simpleFont10 := 0x00002802;
/* constant */ simpleFont12 := 0x00003002;
/* constant */ simpleFont18 := 0x00004802;
/* constant */ fancyFont9 := 0x00002401;
/* constant */ fancyFont10 := 0x00002801;
/* constant */ fancyFont12 := 0x00003001;
/* constant */ fancyFont18 := 0x00004801;
/* constant */ firstX := 0;
/* constant */ firstY := 1;
/* constant */ lastX := 2;
/* constant */ lastY := 3;
/* constant */ finalX := 4;
/* constant */ finalY := 5;
/* constant */ kNotifyLog := 1;
/* constant */ kNotifyMessage := 2;
/* constant */ kNotifyAlert := 3;
/* constant */ kNotifyQAlert := 4;
/* constant */ kModalAlert := 5;
/* constant */ kModalQAlert := 6;
/* constant */ kElementTypeWidth := 3;
/* constant */ kElementFormatWidth := 3;
/* constant */ kElementShift := kElementTypeWidth + kElementFormatWidth;
/* constant */ kElementTypeMask := (1 << kElementTypeWidth) - 1 ;
/* constant */ kElementFormatMask := (1 << kElementFormatWidth) - 1 ;
/* constant */ kElementNothing := 0;
/* constant */ kElementDay := 1;
/* constant */ kElementDayOfWeek := 2;
/* constant */ kElementMonth := 3;
/* constant */ kElementYear := 4;
/* constant */ kElementEra := 5;
/* constant */ kElementHour := 1;
/* constant */ kElementMinute := 2;
/* constant */ kElementSecond := 3;
/* constant */ kElementAMPM := 4;
/* constant */ kElementSuffix := 5;
/* constant */ kFormatDefault := 0;
/* constant */ kFormatLong := 1;
/* constant */ kFormatAbbr := 2;
/* constant */ kFormatTerse := 3;
/* constant */ kFormatShort := 4;
/* constant */ kFormatNumeric := 5;
/* constant */ kFormatLongDate := 1;
/* constant */ kFormatAbbrDate := 2;
/* constant */ kFormatNumericDate := 3;
/* constant */ kFormatNumericYear := 4;
/* constant */ kFormatLongMonth := 5;
/* constant */ kFormatAbbrMonth := 6;
/* constant */ kFormatNumericDay := 7;
/* constant */ kFormatLongDayOfWeek := 8;
/* constant */ kFormatAbbrDayOfWeek := 9;
/* constant */ kFormatLongTime := 21;
/* constant */ kFormatShortTime := 22;
/* constant */ kFormatHour := 23;
/* constant */ kFormatMinute := 24;
/* constant */ kFormatSecond := 25;
/* constant */ kIncludeAllElements := 0;
/* constant */ kMaxElementStrSize := 31;
/* constant */ kMaxDateTimeStrSize := 63;
/* constant */ kLeadZero := 0;
/* constant */ kNoLeadZero := 1;
/* constant */ kCycle24 := 0;
/* constant */ kCycle12 := 1;
/* constant */ kUseHourZero := 0;
/* constant */ kUseHour12 := 1;
/* constant */ kUseHour24 := 2;
/* constant */ kShowCentury := 0;
/* constant */ kNoCentury := 1;
/* constant */ sRoman := 0;
/* constant */ sJapanese := 1;
/* constant */ sChinese := 2;
/* constant */ sKorean := 3;
/* constant */ sArabic := 4;
/* constant */ sHebrew := 5;
/* constant */ kFirstClassID := 64;
/* constant */ clView := 10 + kFirstClassID;
/* constant */ clPictureView := 12 + kFirstClassID;
/* constant */ clEditView := 13 + kFirstClassID;
/* constant */ clKeyboardView := 15 + kFirstClassID;
/* constant */ clMonthView := 16 + kFirstClassID;
/* constant */ clParagraphView := 17 + kFirstClassID;
/* constant */ clPolygonView := 18 + kFirstClassID;
/* constant */ clRemoteView := 24 + kFirstClassID;
/* constant */ clPickView := 27 + kFirstClassID;
/* constant */ clGaugeView := 28 + kFirstClassID;
/* constant */ clOutline := 41 + kFirstClassID;
/* constant */ kModemECProtocolNone := 0x00000001;
/* constant */ kModemECProtocolMNP := 0x00000002;
/* constant */ kModemECProtocolLAPM := 0x00000004;
/* constant */ kModemECProtocolExternal := 0x00000008;
/* constant */ kSpeakerVolumeLow := "1";
/* constant */ kSpeakerVolumeMedium := "2";
/* constant */ kSpeakerVolumeHigh := "3";
/* constant */ kModemCntSpeed300 := 0x00000001;
/* constant */ kModemCntSpeed1200 := 0x00000002;
/* constant */ kModemCntSpeed2400 := 0x00000004;
/* constant */ kModemCntSpeed4800 := 0x00000008;
/* constant */ kModemCntSpeed7200 := 0x00000010;
/* constant */ kModemCntSpeed9600 := 0x00000020;
/* constant */ kModemCntSpeed12000 := 0x00000040;
/* constant */ kModemCntSpeed14400 := 0x00000080;
/* constant */ kModemCntSpeed16800 := 0x00000100;
/* constant */ kModemCntSpeed19200 := 0x00000200;
/* constant */ kModemCntSpeed21600 := 0x00000400;
/* constant */ kModemCntSpeed24000 := 0x00000800;
/* constant */ kModemCntSpeed26800 := 0x00001000;
/* constant */ kModemCntSpeed29000 := 0x00002000;
/* constant */ kModemCntSpeed31400 := 0x00004000;
/* constant */ kCMOMNPAllocate := "mnpa";
/* constant */ kCMOMNPCompression := "mnpc";
/* constant */ kCMOMNPDataRate := "eter";
/* constant */ kCMOMNPStatistics := "mnps";
/* constant */ kMNPCompressionNone := 0x00000001;
/* constant */ kMNPCompressionMNP5 := 0x00000002;
/* constant */ kMNPCompressionV42bis := 0x00000008;
/* constant */ kCMS_CapabilityType_ServiceId := "serv";
/* constant */ kCMS_CapabilityType_Version := "vern";
/* constant */ kCMS_UnknownVersion := "zzzz";
/* constant */ kCMSAppleTalkID := "atlk";
/* constant */ kCMSFaxID := "faxs";
/* constant */ kCMSModemID := "mods";
/* constant */ kCMSSlowIR := "slir";
/* constant */ kCMSMNPID := "mnps";
/* constant */ kCMSBasicSerial := "ser ";
/* constant */ kCMSAsyncSerial := "aser";
/* constant */ kCMSFramedAsyncSerial := "fser";
/* constant */ kCMSLocalTalkID := "ltlk";
/* constant */ kCMSKeyboard := "kybd";
/* constant */ kCMSBlackbird := "blkb";
/* constant */ kCMSVAppleTalk := "1";
/* constant */ kCMSVFaxID := "1";
/* constant */ kCMSVModemID := "1";
/* constant */ kCMSVSlowIR := "1";
/* constant */ kCMSVMNPID := "1";
/* constant */ kCMSVBasicSerial := "1";
/* constant */ kCMSVAsyncSerial := "1";
/* constant */ kCMSVFramedAsyncSerial := "1";
/* constant */ kCMSVLocalTalkID := "1";
/* constant */ kCMSVKeyboard := "1";
/* constant */ kCMSVBlackbird := "1";
/* constant */ kSubArrayOption := "suba";
/* constant */ kOptionType := 0x0C000000;
/* constant */ kConfigType := 0x10000000;
/* constant */ kTypeMask := 0x3C000000;
/* constant */ kOpCodeMask := 0x0000ff00;
/* constant */ kOpCodeResultMask := 0x000000ff;
/* constant */ opInvalid := 0x0000;
/* constant */ opSetNegotiate := 0x0100;
/* constant */ opSetRequired := 0x0200;
/* constant */ opGetDefault := 0x0300;
/* constant */ opGetCurrent := 0x0400;
/* constant */ opProcess := 0x0500;
/* constant */ unicodeNUL := $\00;
/* constant */ unicodeSOH := $\01;
/* constant */ unicodeSTX := $\02;
/* constant */ unicodeETX := $\03;
/* constant */ unicodeEOT := $\04;
/* constant */ unicodeENQ := $\05;
/* constant */ unicodeACK := $\06;
/* constant */ unicodeBEL := $\07;
/* constant */ unicodeBS := $\08;
/* constant */ unicodeHT := $\09;
/* constant */ unicodeLF := $\0A;
/* constant */ unicodeVT := $\0B;
/* constant */ unicodeFF := $\0C;
/* constant */ unicodeCR := $\0D;
/* constant */ unicodeSO := $\0E;
/* constant */ unicodeSI := $\0F;
/* constant */ unicodeDLE := $\10;
/* constant */ unicodeDC1 := $\11;
/* constant */ unicodeDC2 := $\12;
/* constant */ unicodeDC3 := $\13;
/* constant */ unicodeDC4 := $\14;
/* constant */ unicodeNAK := $\15;
/* constant */ unicodeSYN := $\16;
/* constant */ unicodeETB := $\17;
/* constant */ unicodeCAN := $\18;
/* constant */ unicodeEM := $\19;
/* constant */ unicodeSUB := $\1A;
/* constant */ unicodeESC := $\1B;
/* constant */ unicodeFS := $\1C;
/* constant */ unicodeGS := $\1D;
/* constant */ unicodeRS := $\1E;
/* constant */ unicodeUS := $\1F;
/* constant */ kDefaultXOnChar := 0x11;
/* constant */ kDefaultXOffChar := 0x13;
/* constant */ kDefaultFramingChar := 0x10;
/* constant */ kDefaultEOMChar := 0x03;
/* constant */ kDefaultSOMChar := 0x16;
/* constant */ kDefaultSOHChar := 0x02;
/* constant */ kNoChannel := 0;
/* constant */ kSCCSideA := 1;
/* constant */ kSCCSideB := 2;
/* constant */ kSCCServiceNotSpecified := 0;
/* constant */ kSCCServiceStandard := 1;
/* constant */ kSCCServicePtToPtIR := 2;
/* constant */ kSCCServiceModem := 3;
/* constant */ kSCCServicePrinter := 4;
/* constant */ k1StopBits := 0;
/* constant */ k1pt5StopBits := 1;
/* constant */ k2StopBits := 2;
/* constant */ kNoParity := 0;
/* constant */ kOddParity := 1;
/* constant */ kEvenParity := 2;
/* constant */ k5DataBits := 5;
/* constant */ k6DataBits := 6;
/* constant */ k7DataBits := 7;
/* constant */ k8DataBits := 8;
/* constant */ kExternalClock := 1;
/* constant */ k300bps := 300;
/* constant */ k600bps := 600;
/* constant */ k1200bps := 1200;
/* constant */ k2400bps := 2400;
/* constant */ k4800bps := 4800;
/* constant */ k7200bps := 7200;
/* constant */ k9600bps := 9600;
/* constant */ k12000bps := 12000;
/* constant */ k14400bps := 14400;
/* constant */ k19200bps := 19200;
/* constant */ k38400bps := 38400;
/* constant */ k57600bps := 57600;
/* constant */ k115200bps := 115200;
/* constant */ k230400bps := 230400;
/* constant */ kSerialEventBreakStartedMask := 0x00000001;
/* constant */ kSerialEventBreakEndedMask := 0x00000002;
/* constant */ kSerialEventDCDNegatedMask := 0x00000004;
/* constant */ kSerialEventDCDAssertedMask := 0x00000008;
/* constant */ kSerialEventHSKiNegatedMask := 0x00000010;
/* constant */ kSerialEventHSKiAssertedMask := 0x00000020;
/* constant */ kSerialEventExtClkDetectEnableMask := 0x00000040;
/* constant */ kSerialEventGPiWakeupEnableMask := 0x00000080;
/* constant */ irUsingNegotiateIR := 0x00;
/* constant */ irUsingSharpIR := 0x01;
/* constant */ irUsingNewtIR := 0x02;
/* constant */ irJ1ProtocolType := bor(irUsingSharpIR,irUsingNewtIR);
/* constant */ irUsing9600 := 0x01;
/* constant */ irUsing19200 := 0x02;
/* constant */ irUsing38400 := 0x04;
/* constant */ irJ1ProtocolOptions := bor(irUsing9600,irUsing19200);
/* constant */ kCMOSerialHardware := "scc ";
/* constant */ kCMOSerialBuffers := "sbuf";
/* constant */ kCMOSerialIOParms := "siop";
/* constant */ kCMOSerialBitRate := "sbps";
/* constant */ kCMOSerialBreak := "sbrk";
/* constant */ kCMOSerialBytesAvailable := "sbav";
/* constant */ kCMOSerialDiscard := "sdsc";
/* constant */ kCMOBreakFraming := "sbkf";
/* constant */ kCMOSerialDTRControl := "sdtr";
/* constant */ kCMOSerialMiscConfig := "smsc";
/* constant */ kCMOSerialEventEnables := "sevt";
/* constant */ kCMOSerialIOStats := "sios";
/* constant */ kCMOOutputFlowControlParms := "oflc";
/* constant */ kCMOInputFlowControlParms := "iflc";
/* constant */ kCMOFramingParms := "fram";
/* constant */ kCMOFramedAsyncStats := "frst";
/* constant */ kCMOLocalTalkStats := "ltst";
/* constant */ kCMOLocalTalkNodeID := "ltid";
/* constant */ kCMOLocalTalkMiscConfig := "ltms";
/* constant */ kCMOSlowIRProtocolType := "irpt";
/* constant */ kCMOSlowIRStats := "irst";
/* constant */ kCMOSlowIRSniff := "irsn";
/* constant */ kCMOSlowIRBitBang := "irtv";
/* constant */ kCMOEndpointName := "endp";
/* constant */ kCMOAppleTalkADSP := [97,100,115,112];
/* constant */ kADSPEndpoint := "TADSPEndpoint";
/* constant */ kMNPDoAllocate := [1, 0, 0, 0];
/* constant */ kMNPDontAllocate := [0, 0, 0, 0];
/* constant */ k1KOutputBuffer := [ 0, 0, 2, 0, 0, 0, 4, 0, 0, 0, 0, 8 ];
/* constant */ k2KOutputbuffer := [ 0, 0, 2, 0, 0, 0, 8, 0, 0, 0, 0, 8 ];
/* constant */ T_NOFLAG := 0x00000000;
/* constant */ T_CANSENDZERO := 0x00000001;
/* constant */ T_CANEOM := 0x00000002;
/* constant */ T_EXPCHANNEL := 0x00000004;
/* constant */ T_RELIABLE := 0x00000008;
/* constant */ T_CANBIND := 0x00000010;
/* constant */ T_CANLISTEN := 0x00000011;
/* constant */ T_CANCONNECT := 0x00000012;
/* constant */ T_CANRELEASE := 0x00000014;
/* constant */ T_FRAMING := 0x00000018;
/* constant */ T_FLOWCONTROL := 0x00000020;
/* constant */ T_MORE := 0x00000001;
/* constant */ T_FRAME := 0x00000002;
/* constant */ T_EXP := 0x00000004;
/* constant */ T_COTS := 1;
/* constant */ T_COTS_ORD := 2;
/* constant */ T_CLTS := 3;
/* constant */ T_TRANS := 5;
/* constant */ T_TRANS_ORD := 6;
/* constant */ T_UNINIT := 0;
/* constant */ T_UNBND := 1;
/* constant */ T_IDLE := 2;
/* constant */ T_OUTCON := 3;
/* constant */ T_INCON := 4;
/* constant */ T_DATAXFER := 5;
/* constant */ T_OUTREL := 6;
/* constant */ T_INREL := 7;
/* constant */ T_INFLUX := 8;
/* constant */ T_YES := 1;
/* constant */ T_NO := 0;
/* constant */ T_UNUSED := -1;
/* constant */ T_NULL := 0;
/* constant */ T_ABSREQ := 0x00008000;
/* constant */ T_INFINITE := -1;
/* constant */ T_INVALID := -2;
/* constant */ kCMOModemECType := "mecp";
/* constant */ kCMOModemDialing := "mdo ";
/* constant */ kCMOModemConnectType := "mcto";
/* constant */ kCMOModemPrefs := "mpre";
/* constant */ kCMOModemProfile := "mpro";
/* constant */ kCMOModemVoiceSupport := "mvso";
/* constant */ kCMATitleLabel := "titl";
/* constant */ kCMATypeLabel := "typa";
/* constant */ kCMADiscLabel := "disc";
/* constant */ kCMAKindLabel := "kind";
/* constant */ kCMARouteLabel := "rout";
/* constant */ kCMAltLabel := "alt ";
/* constant */ kCMABBServiceName := "BBSV";
/* constant */ kNamedAppleTalkAddress := 1;
/* constant */ kRawAppleTalkAddress := 2;
/* constant */ kPhoneNumber := 3;
/* constant */ kNBPEntityName := 1;
/* constant */ kNameTypeZone := 2;
/* constant */ kSunday := 0x00000800;
/* constant */ kMonday := 0x00000400;
/* constant */ kTuesday := 0x00000200;
/* constant */ kWednesday := 0x00000100;
/* constant */ kThursday := 0x00000080;
/* constant */ kFriday := 0x00000040;
/* constant */ kSaturday := 0x00000020;
/* constant */ kEveryday := 0x00000FE0;
/* constant */ kFirstWeek := 0x00000010;
/* constant */ kSecondWeek := 0x00000008;
/* constant */ kThirdWeek := 0x00000004;
/* constant */ kFourthWeek := 0x00000002;
/* constant */ kLastWeek := 0x00000001;
/* constant */ kEveryWeek := 0x0000001F;
/* constant */ kGestalt_Base := 0x01000001;
/* constant */ kGestalt_Version := kGestalt_Base + 1;
/* constant */ kGestalt_SystemInfo := kGestalt_Base + 2;
/* constant */ kGestalt_RebootInfo := kGestalt_Base + 3;
/* constant */ kGestalt_NewtonScriptVersion := kGestalt_Base + 4;
/* constant */ kGestalt_Manufacturer_Apple := 0x10000000;
/* constant */ kGestalt_Manufacturer_Sharp := 0x10000100;
/* constant */ kGestalt_MachineType_MessagePad := 0x10001000;
/* constant */ aeNoCommand := 0;
/* constant */ recognitionAEvents := 10;
/* constant */ aeClick := 1 + recognitionAEvents;
/* constant */ aeStroke := 2 + recognitionAEvents;
/* constant */ aeScrub := 3 + recognitionAEvents;
/* constant */ aeGesture := aeScrub;
/* constant */ aeCaret := 5 + recognitionAEvents;
/* constant */ aeLine := 6 + recognitionAEvents;
/* constant */ aeShape := 7 + recognitionAEvents;
/* constant */ aeWord := 8 + recognitionAEvents;
/* constant */ aeMath := 9 + recognitionAEvents;
/* constant */ aeGetContext := 10 + recognitionAEvents;
/* constant */ aeInk := 11 + recognitionAEvents;
/* constant */ aeString := 12 + recognitionAEvents;
/* constant */ keyAEvents := 30;
/* constant */ aeKeyUp := 1 + keyAEvents;
/* constant */ aeKeyDown := 2 + keyAEvents;
/* constant */ aeKeyboardEnable := 3 + keyAEvents;
/* constant */ viewAEvents := 40;
/* constant */ aeAddChild := 1 + viewAEvents;
/* constant */ aeDropChild := 2 + viewAEvents;
/* constant */ aeHide := 3 + viewAEvents;
/* constant */ aeShow := 4 + viewAEvents;
/* constant */ aeScrollUp := 5 + viewAEvents;
/* constant */ aeScrollDown := 6 + viewAEvents;
/* constant */ aeHilite := 7 + viewAEvents;
/* constant */ aeRemoveAllHilites := 8 + viewAEvents;
/* constant */ aeTap := 9 + viewAEvents;
/* constant */ aeDoubleTap := 10 + viewAEvents;
/* constant */ aeOverview := 11 + viewAEvents;
/* constant */ aeStartHilite := 12 + viewAEvents;
/* constant */ aeClickUp := 13 + viewAEvents;
/* constant */ aePickItem := 14 + viewAEvents;
/* constant */ aeTapDrag := 15 + viewAEvents;
/* constant */ aePrintAllPagesNow := 16 + viewAEvents;
/* constant */ editViewAEvents := 60;
/* constant */ aeAddData := 1 + editViewAEvents;
/* constant */ aeDuplicateData := 2 + editViewAEvents;
/* constant */ aeRemoveData := 3 + editViewAEvents;
/* constant */ aeMoveData := 4 + editViewAEvents;
/* constant */ aeDropData := 5 + editViewAEvents;
/* constant */ aeScaleData := 6 + editViewAEvents;
/* constant */ aeSetVertex := 7 + editViewAEvents;
/* constant */ aeRemoveVertices := 8 + editViewAEvents;
/* constant */ aeReplaceText := 10 + editViewAEvents;
/* constant */ aeAddHilite := 11 + editViewAEvents;
/* constant */ aeRemoveHilite := 12 + editViewAEvents;
/* constant */ aeChangeStyle := 13 + editViewAEvents;
/* constant */ aeDeferredRecognition := 14 + editViewAEvents;
/* constant */ aeChangePen := 15 + editViewAEvents;
/* constant */ aeMoveChild := 16 + editViewAEvents;
/* constant */ debugAEvents := 80;
/* constant */ aeRedrawScreen := 1 + debugAEvents;
/* constant */ aeFlipBuffering := 2 + debugAEvents;
/* constant */ aeLCDScreen := 3 + debugAEvents;
/* constant */ aeToggleTracing := 4 + debugAEvents;
/* constant */ aeShowDebugWindow := 5 + debugAEvents;
/* constant */ aeDumpFields := 6 + debugAEvents;
/* constant */ aeDumpData := 7 + debugAEvents;
/* constant */ aeDumpWindows := 8 + debugAEvents;
/* constant */ aeSetNewtMachine := 9 + debugAEvents;
/* constant */ aeSetNewtonMachine := 10 + debugAEvents;
/* constant */ aeSetMacMachine := 11 + debugAEvents;
/* constant */ aeSetDOSMachine := 12 + debugAEvents;
/* constant */ aeSetRolexMachine := 13 + debugAEvents;
/* constant */ macAEvents := 100;
/* constant */ aeDoNothing := 1 + macAEvents;
/* constant */ aeAbout := 2 + macAEvents;
/* constant */ aeOpenDeskAccessory := 3 + macAEvents;
/* constant */ aeNew := 4 + macAEvents;
/* constant */ aeOpen := 5 + macAEvents;
/* constant */ aeClose := 6 + macAEvents;
/* constant */ aeSave := 7 + macAEvents;
/* constant */ aeSaveAs := 8 + macAEvents;
/* constant */ aeRevert := 9 + macAEvents;
/* constant */ aePageSetUp := 10 + macAEvents;
/* constant */ aePrint := 11 + macAEvents;
/* constant */ aeQuit := 12 + macAEvents;
/* constant */ aeRunScript := 13 + macAEvents;
/* constant */ aeUndo := 14 + macAEvents;
/* constant */ aeCut := 15 + macAEvents;
/* constant */ aeCopy := 16 + macAEvents;
/* constant */ aePaste := 17 + macAEvents;
/* constant */ aeClear := 18 + macAEvents;
/* constant */ aeSelectAll := 19 + macAEvents;
/* constant */ aeShowClipboard := 20 + macAEvents;
/* constant */ kPopChar := $\uFC01;
/* constant */ kPopSpace := $\uFC02;
/* constant */ kCheckMarkChar := $\uFC0B;
/* constant */ kInfoDotChar := $\uFC05;
func GetDateStringSpec(elemArray)
begin
local spec := 0;
local val;
foreach val in elemArray do
spec := spec<<kElementShift + val[1]<<kElementTypeWidth + val[0];
spec;
end;
func SetBounds(l,t,r,b){left: l, top: t, right: r, bottom: b};
func RelBounds(l,t,wid,hgt){left: l, top: t, right: l + wid, bottom: t + hgt};
func PictBounds(rsrcName,l,t)
begin
local pict := GetNamedResource("PICT",rsrcName,'rawPICT);
if pict then
SetBounds(l,t,l+ ExtractWord(pict,2+6)-ExtractWord(pict,2+2),t + ExtractWord(pict,2+4)-ExtractWord(pict,2+0) )
end;
/* constant */ kNone := 0;
/* constant */ kMuLaw := 1;
/* constant */ kLPC := 2;
/* constant */ kADPCM := 3;
/* constant */ kSoundCompression6To1 := 4;
/* constant */ kFixed := 0;
/* constant */ k8Bit := 1;
/* constant */ k16Bit := 2;
/* constant */ k24Bit := 3;
/* constant */ kCodecRate := 0x1F400000;
constant kFloatCodecRate := 8000.0;
constant kFloat11kRate := 11013.21586;
constant kFloat22kRate := 22026.43172;
func GetSoundDeprecated(name)
begin
local soundSample := GetSndAsSamples(name);
if soundSample then
{
sndFrameType: 'simpleSound,
samples: soundSample,
samplingRate: kFloat22kRate,
dataType: k8Bit,
compressionType: kNone
};
end;
func GetSound11Deprecated(name)
begin
local soundSample := GetSndAsSamplesRate11KHz(name);
if soundSample then
{
sndFrameType: 'simpleSound,
samples: soundSample,
samplingRate: kFloat11kRate,
dataType: k8Bit,
compressionType: kNone
};
end;
/* constant */ vjNoLineLimits := (0*8388608);
/* constant */ unitFirstX := 0;
/* constant */ unitFirstY := 1;
/* constant */ unitFinalX := 4;
/* constant */ unitFinalY := 5;
/* constant */ kNoflag := 0x00000000;
/* constant */ kCanSendZero := 0x00000001;
/* constant */ kCanEOM := 0x00000002;
/* constant */ kExpChannel := 0x00000004;
/* constant */ kReliable := 0x00000008;
/* constant */ kCanBind := 0x00000010;
/* constant */ kCanListen := 0x00000011;
/* constant */ kCanConnect := 0x00000012;
/* constant */ kCanRelease := 0x00000014;
/* constant */ kFraming := 0x00000018;
/* constant */ kFlowControl := 0x00000020;
/* constant */ kMore := 0x00000001;
/* constant */ kFrame := 0x00000002;
/* constant */ kExp := 0x00000004;
/* constant */ kCots := 1;
/* constant */ kCotsOrd := 2;
/* constant */ kClts := 3;
/* constant */ kTrans := 5;
/* constant */ kTransOrd := 6;
/* constant */ kUninit := 0;
/* constant */ kUnbnd := 1;
/* constant */ kIdle := 2;
/* constant */ kOutCon := 3;
/* constant */ kInCon := 4;
/* constant */ kDataXfer := 5;
/* constant */ kOutRel := 6;
/* constant */ kInRel := 7;
/* constant */ kInFlux := 8;
/* constant */ kYes := 1;
/* constant */ kNo := 0;
/* constant */ kUnused := -1;
/* constant */ kNull := 0;
/* constant */ kAbsReq := 0x00008000;
/* constant */ kInfinite := -1;
/* constant */ kInvalid := -2;
/* constant */ kfirstButtonLeft := 25;
/* constant */ kstdButtonTop := 2;
/* constant */ kstdButtonBottom := 15;
/* constant */ kstdButtonHeight := 13;
/* constant */ kStdButtonExtra := 6;
/* constant */ kstdButtonSpacing := 6;
func ButtonBounds(width)
begin
if (width > 0) then
SetBounds(6, kstdButtonTop, 6 + width, kstdButtonBottom);
else
SetBounds(kfirstButtonLeft, kstdButtonTop, kfirstButtonLeft - width, kstdButtonBottom);
end
;
/* constant */ kFaceNormal := 0x000;
/* constant */ kFaceBold := 0x001;
/* constant */ kFaceItalic := 0x002;
/* constant */ kFaceUnderline := 0x004;
/* constant */ kFaceOutline := 0x008;
/* constant */ kFaceSuperScript := 0x080;
/* constant */ kFaceSubScript := 0x100;
func DefConst(sym,expr);
/* constant */ kMacRomanEncoding := 1;
/* constant */ kASCIIEncoding := 2;
/* constant */ kPCRomanEncoding := 3;
/* constant */ kWizardEncoding := 4;
/* constant */ kShiftJISEncoding := 5;
/* constant */ kUserDictionary := 31;
/* constant */ kCommonDictionary := 0;
/* constant */ kCountriesDictionary := 8;
/* constant */ kDaysMonthsDictionary := 34;
/* constant */ kFirstNamesDictionary := 48;
/* constant */ kLastNamesDictionary := 7;
/* constant */ kSharedPropersDictionary := 1;
/* constant */ kLocalPropersDictionary := 2;
/* constant */ kLocalCitiesDictionary := 41;
/* constant */ kLocalCompaniesDictionary := 42;
/* constant */ kLocalStatesDictionary := 43;
/* constant */ kLocalStatesAbbrevsDictionary := 44;
/* constant */ kLocalDateDictionary := 110;
/* constant */ kLocalTimeDictionary := 111;
/* constant */ kLocalMoneyDictionary := 112;
/* constant */ kLocalNumberDictionary := 113;
/* constant */ FE_INEXACT := 0x00000010;
/* constant */ FE_DIVBYZERO := 0x00000002;
/* constant */ FE_UNDERFLOW := 0x00000008;
/* constant */ FE_OVERFLOW := 0x00000004;
/* constant */ FE_INVALID := 0x00000001;
/* constant */ kInputFrame := 'InputFrame;
/* constant */ kOutputFrame := 'OutputFrame;
/* constant */ kFrameExchange_Initiate := 'InAndOut_MeFirst;
/* constant */ kFrameExchange_Confirm := 'InAndOut_MeSecond;
/* constant */ kPropagateUp := true;
/* constant */ kNoPropagateUp := nil;
/* constant */ kPropagateDown := true;
/* constant */ kNoPropagateDown := nil;
/* constant */ lvNoMarkers := 1;
/* constant */ lvShowChecks := 2;
/* constant */ lvShowTopPriority := 4;
/* constant */ lvShowSubPriority := 8;
/* constant */ lvShowPriority := 12;
/* constant */ lvAdjustTopicBounds := 16;
/* constant */ kUseLocalTalk := 1;
/* constant */ kUseMNPSerial := 3;
/* constant */ kUseIR := 4;
/* constant */ kUseModem := 5;
/* constant */ kNoConnection := 0;
/* constant */ kSettingUp := 1;
/* constant */ kSyncing := 2;
/* constant */ kRestoring := 3;
/* constant */ kLoadingPackage := 4;
/* constant */ kLoadingPatch := 6;
/* constant */ kFileBrowsing := 8;
/* constant */ kOKForDevelopers := 20;
/* constant */ kMacPlatform := 0;
/* constant */ kWindowsPlatform := 1;
/* constant */ kPackageFiles := 0;
/* constant */ kImportFiles := 1;
/* constant */ kRestoreFiles := 2;
/* constant */ kOther := 3;
/* constant */ kDesktop := 0;
/* constant */ kFile := 1;
/* constant */ kFolder := 2;
/* constant */ kDisk := 3;
/* constant */ kSystemInvertStyle := "{transferMode: modeXor,penPattern: vfNone,fillPattern: vfBlack}";
/* constant */ vjNoRatio := 0;
/* constant */ vjLeftRatio := 67108864;
/* constant */ vjRightRatio := 134217728;
/* constant */ vjTopRatio := 268435456;
/* constant */ vjBottomRatio := 2 << 28;
/* constant */ vjParentClip := 256;
/* constant */ kStandardCharSetInfo := 0;
/* constant */ kPalmerCharSetInfo := 1;
/* constant */ kUCBlockCharSetInfo := 2;
/* constant */ kUpperCaseCharSetInfo := 3;
/* constant */ kLetterSpaceCursiveOptionDefault := 4;
/* constant */ kLetterSetSelectionDefault := 0;
/* constant */ kLong := 1;
/* constant */ kULong := 2;
/* constant */ kShort := 3;
/* constant */ kByte := 4;
/* constant */ kBoolean := 5;
/* constant */ kHighInt := 6;
/* constant */ kHexLong := 7;
/* constant */ kSplitLong := 8;
/* constant */ kSplitByteLong := 9;
/* constant */ kStruct := 10;
/* constant */ kArray := 11;
/* constant */ kRef := 12;
/* constant */ kChar := 13;
/* constant */ kCString := 14;
/* constant */ kUnicodeChar := 15;
/* constant */ kUnicodeString := 16;
/* constant */ kCommScriptNoActiveInputSpec := -54000;
/* constant */ kCommScriptBadForm := -54001;
/* constant */ kCommScriptZeroLengthData := -54002;
/* constant */ kCommScriptExpectedSpec := -54003;
/* constant */ kCommScriptInvalidOption := -54004;
/* constant */ kCommScriptInvalidEndSequence := -54005;
/* constant */ kCommScriptInappropriatePartial := -54006;
/* constant */ kCommScriptInappropriateTermination := -54007;
/* constant */ kCommScriptInappropriateTarget := -54008;
/* constant */ kCommScriptInappropriateFilter := -54009;
/* constant */ kCommScriptExpectedTarget := -54010;
/* constant */ kCommScriptExpectedTemplate := -54011;
/* constant */ kCommScriptInputSpecAlreadyActive := -54012;
/* constant */ kCommScriptInvalidProxy := -54013;
/* constant */ kCommScriptNoEndpointAvailable := -54014;
/* constant */ kCommScriptInappropriateCall := -54015;
/* constant */ kOutLstn := 9;
/* constant */ kFrameExchange := 'autoInAndOut;
/* constant */ kDataExchange := 'InAndOut;
/* constant */ kCanadaCountryId := 10;
/* constant */ kJapanCountryId := 81;
/* constant */ kUSACountryId := 1;
/* constant */ kModemFaxClass0 := 0x00000001;
/* constant */ kModemFaxClass1 := 0x00000002;
/* constant */ kModemFaxClass2 := 0x00000004;
/* constant */ kModemECInternalOnly := 0x00000010;
/* constant */ kV21Ch2Mod := 0x00000001;
/* constant */ kV27Ter24Mod := 0x00000002;
/* constant */ kV27Ter48Mod := 0x00000004;
/* constant */ kV29_72Mod := 0x00000008;
/* constant */ kV17_72Mod := 0x00000010;
/* constant */ kV17st_72Mod := 0x00000020;
/* constant */ kV29_96Mod := 0x00000040;
/* constant */ kV17_96Mod := 0x00000080;
/* constant */ kV17st_96Mod := 0x00000100;
/* constant */ kV17_12Mod := 0x00000200;
/* constant */ kV17st_12Mod := 0x00000400;
/* constant */ kV17_14Mod := 0x00000800;
/* constant */ kV17st_14Mod := 0x00001000;
/* constant */ kCMOModemConnectSpeed := "mspd";
/* constant */ kCMOModemFaxCapabilities := "mfax";
/* constant */ kCMOSerialHWChipLoc := "schp";
/* constant */ kHWLocExternalSerial := "extr";
/* constant */ kHWLocBuiltInIR := "infr";
/* constant */ kHWLocBuiltInModem := "mdem";
/* constant */ kHWLocPCMCIASlot1 := "slt1";
/* constant */ kHWLocPCMCIASlot2 := "slt2";
/* constant */ kHWLocPCMCIAAnySlot := "slot";
/* constant */ kCMOSlowIRConnect := "irco";
/* constant */ kCMOSerialCircuitControl := "sctl";
/* constant */ kCMOSerialChipSpec := "sers";
/* constant */ kHMOSerExtClockDivide := "cdiv";
/* constant */ kSerCap_Parity_Space := 0x00000001;
/* constant */ kSerCap_Parity_Mark := 0x00000002;
/* constant */ kSerCap_Parity_Odd := 0x00000004;
/* constant */ kSerCap_Parity_Even := 0x00000008;
/* constant */ kSerCap_DataBits_5 := 0x00000001;
/* constant */ kSerCap_DataBits_6 := 0x00000002;
/* constant */ kSerCap_DataBits_7 := 0x00000004;
/* constant */ kSerCap_DataBits_8 := 0x00000008;
/* constant */ kSerCap_StopBits_1 := 0x00000010;
/* constant */ kSerCap_StopBits_1_5 := 0x00000020;
/* constant */ kSerCap_StopBits_2 := 0x00000040;
/* constant */ kSerCap_StopBits_All := 0x00000070;
/* constant */ kSerCap_DataBits_All := 0x0000000f;
/* constant */ kSerialChipUnknown := 0xff;
/* constant */ kSerialChip8250 := 0x00;
/* constant */ kSerialChip16450 := 0x01;
/* constant */ kSerialChip16550 := 0x02;
/* constant */ kSerialChip8530 := 0x20;
/* constant */ kSerialChip6850 := 0x21;
/* constant */ kSerialChip6402 := 0x22;
/* constant */ kSerialChipVoyager := 0x23;
/* constant */ kSerOutDTR := 0x01;
/* constant */ kSerOutRTS := 0x02;
/* constant */ kSerInDSR := 0x02;
/* constant */ kSerInDCD := 0x08;
/* constant */ kSerInRI := 0x10;
/* constant */ kSerInCTS := 0x20;
/* constant */ kSerInBreak := 0x80;
/* constant */ kSerClk_Default := 0x00;
/* constant */ kSerClk_DivideBy_1 := 0x80;
/* constant */ kSerClk_DivideBy_16 := 0x81;
/* constant */ kSerClk_DivideBy_32 := 0x82;
/* constant */ kSerClk_DivideBy_64 := 0x83;
/* constant */ kSerClk_DivideBy_Mask := 0x03;
/* constant */ kUsingNegotiateIR := 0;
/* constant */ kUsingSharpIR := 1;
/* constant */ kUsingNewton1 := 2;
/* constant */ kUsingNewton2 := 4;
/* constant */ kUsing9600 := 1;
/* constant */ kUsing19200 := 2;
/* constant */ kUsing38400 := 4;
/* constant */ kNormalConnect := 0;
/* constant */ irSymmetricConnect := 1;
/* constant */ irAcitveConnect := 2;
/* constant */ kSnoozeAlert := 9;
/* constant */ kSndBuffer := 1;
/* constant */ kRcvBuffer := 2;
/* constant */ kAtnBuffer := 3;
/* constant */ editFont10 := 0x00002803;
/* constant */ editFont12 := 0x00003003;
/* constant */ editFont18 := 0x00004803;
/* constant */ tsSystem := 0 << tsFamilyShift;
/* constant */ tsHWFont := 3 << tsFamilyShift;
/* constant */ kCMOAppletalkBuffer := "bsiz";
/* constant */ kEOP := 0x00000000;
/* constant */ kPacket := 0x00000002;
/* constant */ kForever := 0x1fffffff;
/* constant */ chNUL := 0;
/* constant */ chSOH := 1;
/* constant */ chSTX := 2;
/* constant */ chETX := 3;
/* constant */ chEOT := 4;
/* constant */ chENQ := 5;
/* constant */ chACK := 6;
/* constant */ chBEL := 7;
/* constant */ chBS := 8;
/* constant */ chHT := 9;
/* constant */ chLF := 10;
/* constant */ chVT := 11;
/* constant */ chFF := 12;
/* constant */ chCR := 13;
/* constant */ chSO := 14;
/* constant */ chSI := 15;
/* constant */ chDLE := 16;
/* constant */ chDC1 := 17;
/* constant */ chDC2 := 18;
/* constant */ chDC3 := 19;
/* constant */ chDC4 := 20;
/* constant */ chNAK := 21;
/* constant */ chSYN := 22;
/* constant */ chETB := 23;
/* constant */ chCAN := 24;
/* constant */ chEM := 25;
/* constant */ chSUB := 26;
/* constant */ chESC := 27;
/* constant */ chFS := 28;
/* constant */ chGS := 29;
/* constant */ chRS := 30;
/* constant */ chUS := 31;
/* constant */ kLocalPhoneDictionary := 112;
/* constant */ kWorldPhoneDictionary := 114;
/* constant */ kSimplePhoneDictionary := 115;
/* constant */ kPostalCodeDictionary := 116;
/* constant */ kNumbersOnlyDictionary := 117;
/* constant */ kMoneyOnlyDictionary := 118;
/* constant */ kSimpleDateDictionary := 119;
/* constant */ kWorldPostalCodeDictionary := 120;
/* constant */ kAddressAbbrevsDictionary := 121;
/* constant */ kDraggerBorder := 7;
/* constant */ kDraggerInset := 1;
/* constant */ kDraggerBorderWidth := 8;
/* constant */ kStdButtonFont := tsBold + ((9) << tsSizeShift);
/* constant */ kNoTimeout := 0;
/* constant */ kTimeOutImmediate := -1;
/* constant */ kBarberIdle := 300;
/* constant */ kFnCurrency := (1 << 4);
/* constant */ kFnGrouping := (1 << 5);
/* constant */ kFnNegParens := (1 << 6);
/* constant */ kFnFixed := (1 << 7);
/* constant */ kFnPercent := (1 << 8);
/* constant */ kFnZapZeros := (1 << 9);
/* constant */ kFnBasicCurrency := 242;
/* constant */ vWidthGrowsWithText := 1 << 2;
/* constant */ vFixedTextStyle := 1 << 3;
/* constant */ vFixedInkTextStyle := 1 << 4;
/* constant */ vExpectingNumbers := 1 << 9;
/* constant */ vSingleKeystrokes := 1 << 10;
/* constant */ vjParentAnchored := 256;
/* constant */ vjFillCustom := 14;
/* constant */ vjFrameCustom := 224;
/* constant */ vjLinesCustom := 57344;
/* constant */ vfDragger := 13;
/* constant */ vfFrameDragger := vfBlack << vfFrameShift;
/* constant */ kSoundCompleted := 0;
/* constant */ kSoundAborted := 1;
/* constant */ kSoundPaused := 2;
/* constant */ firstXY := 6;
/* constant */ lastXY := 7;
/* constant */ finalXY := 8;
/* constant */ kTextCompander := "TLZStoreCompander";
/* constant */ kBitmapCompander := "TPixelMapCompander";
/* constant */ kInkChar := $\uF700;
/* constant */ kNoOptions := 0;
/* constant */ kHasScrollersOption := 1 << 0;
/* constant */ kstdButtonSpacing := 7;
func ButtonBounds(width)
begin
if (width > 0) then
SetBounds(7, kstdButtonTop, 7 + width, kstdButtonBottom);
else
SetBounds(kfirstButtonLeft, kstdButtonTop, kfirstButtonLeft - width, kstdButtonBottom);
end
;
func StdButtonWidth(str) MeasureString(str, tsSize(9)+tsBold)+6;
/* constant */ kGestaltArg_HasBackLight := '[0x02000007, [struct,boolean], 1];
/* constant */ kGestaltArg_HasSoftContrast := '[0x02000003, [struct, boolean, long, long], 1];
/* constant */ kGestaltArg_VolumeInfo := '[0x02000009, [struct, boolean, boolean, boolean, boolean, real, long, long], 1];
/* constant */ kGestaltArg_Microphone := '[0x0200000c, [struct, boolean], 1];
/* constant */ kGestaltArg_BuiltIn_Keyboard := '[0x0200000b, [struct, boolean], 1];
/* constant */ kNegativeZero := MakeBinaryFromHex("8000000000000000", 'real);
/* constant */ kInfinity := MakeBinaryFromHex("7FF0000000000000", 'real);
/* constant */ kNegativeInfinity := MakeBinaryFromHex("FFF0000000000000", 'real);
/* constant */ kNAN := MakeBinaryFromHex("7ff8000000000000", 'real);
/* constant */ opInProgress := 1;
/* constant */ opSuccess := 0;
/* constant */ opFailure := -1;
/* constant */ opPartSuccess := -2;
/* constant */ opReadOnly := -3;
/* constant */ opNotSupported := -4;
/* constant */ opBadOpCode := -5;
/* constant */ opNotFound := -6;
/* constant */ opTruncated := -7;
/* constant */ opPadded := -8;
/* constant */ kPortrait := 0;
/* constant */ kLandscape := 1;
/* constant */ kPortraitFlip := 2;
/* constant */ kLandscapeFlip := 3;
/* constant */ kDefaultDevice := 0x00;
/* constant */ kInternalSpeaker := 0x01;
/* constant */ kInternalModem := 0x02;
/* constant */ kInternalMic := 0x04;
/* constant */ kLineOut := 0x08;
/* constant */ kLineIn := 0x10;
/* constant */ kSampleStandard := 0;
/* constant */ kSampleMuLaw := 1;
/* constant */ kSampleLinear := 6;
/* constant */ kKbdUsesKeyCodes := 1;
/* constant */ kKbdTracksCaret := 2;
/* constant */ kKbdforInput := 4;
/* constant */ vStandAloneBounds := (1 << 11);
/* constant */ vAlwaysTryKeyCommands := (1 << 12);
/* constant */ vCallStandardScripts := (1 << 13);
/* constant */ vTakesCommandKeys := (1 << 14);
/* constant */ vTakesAllKeys := (1 << 15);
/* constant */ vTakesNoKeys := (1 << 16);
/* constant */ kWorksInAllModals := (1 << 0);
/* constant */ kWorksInAppModals := (1 << 1);
/* constant */ kRepeatable := (1 << 2);
/* constant */ kTabKey := $\09;
/* constant */ kBackspaceKey := $\08;
/* constant */ kReturnKey := $\0D;
/* constant */ kEnterKey := $\03;
/* constant */ kEscKey := $\1B;
/* constant */ kLeftArrowKey := $\1C;
/* constant */ kRightArrowKey := $\1D;
/* constant */ kUpArrowKey := $\1E;
/* constant */ kDownArrowKey := $\1F;
/* constant */ kF1Key := $\uF721;
/* constant */ kF2Key := $\uF722;
/* constant */ kF3Key := $\uF723;
/* constant */ kF4Key := $\uF724;
/* constant */ kF5Key := $\uF725;
/* constant */ kF6Key := $\uF726;
/* constant */ kF7Key := $\uF727;
/* constant */ kF8Key := $\uF728;
/* constant */ kF9Key := $\uF729;
/* constant */ kF10Key := $\uF72A;
/* constant */ kF11Key := $\uF72B;
/* constant */ kF12Key := $\uF72C;
/* constant */ kF13Key := $\uF72D;
/* constant */ kF14Key := $\uF72E;
/* constant */ kF15Key := $\uF72F;
/* constant */ kIsSoftKeyboard := (1 << 24);
/* constant */ kCommandModifier := (1 << 25);
/* constant */ kShiftModifier := (1 << 26);
/* constant */ kCapsLockModifier := (1 << 27);
/* constant */ kOptionModifier := (1 << 28);
/* constant */ kControlModifier := (1 << 29);
/* constant */ kModifiersMask := 0x3E000000;
/* constant */ kNoModifiers := 0;
/* constant */ kRGB_16GrayIncrement := 0x00111111;
/* constant */ kRGBpackedInteger := 0x10000000;
/* constant */ kRGB_Black := kRGBpackedInteger + 0x00000000;
/* constant */ kRGB_White := kRGBpackedInteger + 0x00FFFFFF;
/* constant */ kRGB_Gray0 := kRGBpackedInteger + 0x00FFFFFF;
/* constant */ kRGB_Gray1 := kRGBpackedInteger + 0x00EEEEEE;
/* constant */ kRGB_Gray2 := kRGBpackedInteger + 0x00DDDDDD;
/* constant */ kRGB_Gray3 := kRGBpackedInteger + 0x00CCCCCC;
/* constant */ kRGB_Gray4 := kRGBpackedInteger + 0x00BBBBBB;
/* constant */ kRGB_Gray5 := kRGBpackedInteger + 0x00AAAAAA;
/* constant */ kRGB_Gray6 := kRGBpackedInteger + 0x00999999;
/* constant */ kRGB_Gray7 := kRGBpackedInteger + 0x00888888;
/* constant */ kRGB_Gray8 := kRGBpackedInteger + 0x00777777;
/* constant */ kRGB_Gray9 := kRGBpackedInteger + 0x00666666;
/* constant */ kRGB_Gray10 := kRGBpackedInteger + 0x00555555;
/* constant */ kRGB_Gray11 := kRGBpackedInteger + 0x00444444;
/* constant */ kRGB_Gray12 := kRGBpackedInteger + 0x00333333;
/* constant */ kRGB_Gray13 := kRGBpackedInteger + 0x00222222;
/* constant */ kRGB_Gray14 := kRGBpackedInteger + 0x00111111;
/* constant */ kRGB_Gray15 := kRGBpackedInteger + 0x00000000;
/* constant */ kCMSIrDA := "irda";
/* constant */ kCMOIrDADiscoveryInformation := "irdi";
/* constant */ kCMOIrDAConnectInformation := "irci";
/* constant */ kCMOIrDAReceiveBuffers := "irrb";
/* constant */ kCMOIrDALinkDisconnectTimeout := "irld";
/* constant */ kCMOIrDAConnectUserData := "ircd";
/* constant */ kCMOIrDAConnectAttrName := "irca";
/* constant */ kCMOPCMCIAModemSound := "msnd";
/* constant */ kIrDA1ProbeSlot := 1;
/* constant */ kIrDA6ProbeSlot := 6;
/* constant */ kIrDA8ProbeSlot := 8;
/* constant */ kIrDA12ProbeSlot := 12;
/* constant */ kIrDASvcHintPnPCompatible := 1;
/* constant */ kIrDASvcHintPDAPalmtop := 2;
/* constant */ kIrDASvcHintComputer := 4;
/* constant */ kIrDASvcHintPrinter := 8;
/* constant */ kIrDASvcHintModem := 16;
/* constant */ kIrDASvcHintFAX := 32;
/* constant */ kIrDASvcHintLanAccess := 64;
/* constant */ kIrDASvcHintTelephony := 256;
/* constant */ kIrDASvcHintFileServer := 512;